package org.yang.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 缘友一世
 * date ${DATE}-${TIME}
 */
@SpringBootApplication
@Slf4j
@ServletComponentScan //开启组件扫描
@EnableTransactionManagement //开启事务支持
@EnableCaching //开启springCache
public class reggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(reggieApplication.class,args);
        log.info("项目启动成功<===>");
    }
}